package com.ctshk.rpc.goods.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品操作日志-DTO参数
 * </p>
 *
 * @author 姜斌文
 * @since 2021-05-17
 */
@Data
@ApiModel(value = "CommodityLogDTO对象", description = "商品操作日志")
public class CommodityLogDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品主键id")
    private Long id;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "原来上架状态")
    private Integer originalStatus;

    @ApiModelProperty(value = "现上架状态")
    private Integer status;

    @ApiModelProperty(value = "原来审批状态")
    private Integer originalApprovalStatus;

    @ApiModelProperty(value = "现审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}
